package com.stone.bean.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author stone
 * @date 2022/4/20 14:29
 */
@Data
public class LoginDTO implements Serializable {

    @NotEmpty(message = "手机号 不能为空")
    @ApiModelProperty(value = "手机号", required = true)
    private String phone;

    @NotEmpty(message = "密码 不能为空")
    @ApiModelProperty(value = "密码", required = true)
    private String password;

    @NotEmpty(message = "验证码 不能为空")
    @ApiModelProperty(value = "验证码", required = true)
    private String imageCode;

}
